$(function ()
{
    var options = {
        items : [
            'source',
            '|',
            'undo',
            'redo',
            '|',
            'preview',
            'print',
            'template',
            'code',
            'cut',
            'copy',
            'paste',
            'plainpaste',
            'wordpaste',
            '|',
            'justifyleft',
            'justifycenter',
            'justifyright',
            'justifyfull',
            'insertorderedlist',
            'insertunorderedlist',
            'indent',
            'outdent',
            'subscript',
            'superscript',
            'clearhtml',
            'quickformat',
            'selectall',
            '|',
            'fullscreen',
            '/',
            'formatblock',
            'fontname',
            'fontsize',
            '|',
            'forecolor',
            'hilitecolor',
            'bold',
            'italic',
            'underline',
            'strikethrough',
            'lineheight',
            'removeformat',
            '|',
            'image',
            'multiimage',
            'flash',
            'media',
            'insertfile',
            'table',
            'hr',
            'emoticons',
            'baidumap',
            'pagebreak',
            'anchor',
            'link',
            'unlink',
            '|',
            'about'
        ],
        height : "350px"
    };
    KindEditor.create("#content", options);

    SyntaxHighlighter.autoloader(
        'java             /scripts/shBrushJava.js',
        'php             /scripts/shBrushPhp.js',
        'html xml             /scripts/shBrushXml.js',
        'css             /scripts/shBrushCss.js',
        'js jscript javascript             /scripts/shBrushJScript.js',
        'bash shell             /scripts/shBrushBash.js',
        'sql             /scripts/shBrushSql.js'
    );
    SyntaxHighlighter.all();
});